package com.app.Activity;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import app.com.ModuleRole.R;

public class frmTest extends Activity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.layout_test);
		String msg="an/10;phu/11;truc/20";
		String []m=msg.split(";");
		ArrayList<ArrayList<String>> item=new ArrayList<ArrayList<String>>();
		for(int i=0;i<m.length;i++){
			String []s=m[i].split("/");
			ArrayList<String> sub=new ArrayList<String>();
			sub.add(s[0]);
			sub.add(s[1]);
			item.add(sub);
		}
		
		StringBuffer buffer=new StringBuffer();
		for(int i=0;i<item.size();i++){
			for(int j=0;j<item.get(i).size();j++){
				Log.d("phu",i+" "+j+" "+item.get(i).get(j));
			}
		}
	}
}
